#pragma once
#include "DirectX_includes.h"
#include "DirectXFramework.h"
#include "Input.h"
#include "SpriteInfo.h"
#include "Sprite.h"
#include "Button.h"
#include "menuEnum.h"
#include <Windows.h>
#include <vector>

//const int mainButtons	= 3;				/*Total number of top menu buttons*/
//const int optionButtons = 4;				/*Total number of available buttons within option button from menu buttons*/

class Menu_class
{
private:
	//input class controls type of input recieved
	Input* menuInput;
	//button class with number of maximum buttons
	Button button[optionButtons];
	//sprite class to handle the button image
	SpriteInfo menuSprite[mainButtons];
	Sprite* sprite;
	/*DirectFramework object*/
	CDirectXFramework c_directxF;

	int menuState;								/*Switch statement use state it is in*/
	int optionState;
	int OptionType;								/**/
	bool picked;								/*if button was clicked or not, from main menu*/
public:
	void MenuRun(Sprite*, Input*, HWND&, HINSTANCE&, bool);				/*WinMain calls this runs DrawBackground, update, then render*/
	void DrawBackGround();						/*Just using this to handle the background. May or may not need this could do it in MenuRun. basically render*/
	bool ClickableButton(){return true;}		/*return true if mouse was clicked within button image*/
	void Update(int);
	void release();
	~Menu_class(){release();}
};